<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>系统管理 - 大模型文档智能生成平台</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
    <style>
        :root {
            --primary-color: #006838;
            --accent-color: #B58E55;
            --bg-color: #f4f6f9;
            --text-color: #333;
            --border-color: #e0e0e0;
            --sidebar-width: 240px;
            --header-height: 60px;
        }

        body {
            margin: 0;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
            background-color: var(--bg-color);
            color: var(--text-color);
            font-size: 14px;
        }

        .app-container {
            display: flex;
            height: 100vh;
        }

        /* --- Sidebar --- */
        .sidebar {
            width: var(--sidebar-width);
            background-color: #ffffff;
            border-right: 1px solid var(--border-color);
            display: flex;
            flex-direction: column;
            transition: width 0.3s;
        }

        .sidebar-header {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 15px;
            height: var(--header-height);
            border-bottom: 1px solid var(--border-color);
        }

        .logo {
            height: 35px;
            margin-right: 10px;
        }

        .sidebar-header h1 {
            font-size: 16px;
            font-weight: 600;
            color: var(--primary-color);
            white-space: nowrap;
        }

        .sidebar-nav {
            flex-grow: 1;
            padding: 20px 0;
        }

        .sidebar-nav ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .sidebar-nav li a {
            display: flex;
            align-items: center;
            padding: 12px 20px;
            color: #555;
            text-decoration: none;
            transition: all 0.2s;
            font-weight: 500;
        }

        .sidebar-nav li a:hover {
            background-color: #f0f7f2;
            color: var(--primary-color);
        }

        .sidebar-nav li a.active {
            background-color: var(--primary-color);
            color: white;
            border-right: 4px solid var(--accent-color);
        }

        .sidebar-nav li a .fa-fw {
            margin-right: 15px;
            width: 20px;
            text-align: center;
        }

        /* --- Main Content --- */
        .main-wrapper {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        .header {
            height: var(--header-height);
            background-color: #fff;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            justify-content: flex-end;
            padding: 0 30px;
        }
        .header-actions {
            display: flex;
            align-items: center;
            gap: 25px;
        }
        .header-actions .icon-btn {
            font-size: 18px;
            color: #666;
            cursor: pointer;
        }
        .user-profile {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .user-profile img {
            width: 36px;
            height: 36px;
            border-radius: 50%;
        }
        .user-profile span {
            font-weight: 500;
        }
        
        .main-content {
            flex-grow: 1;
            padding: 30px;
            overflow-y: auto;
        }

        /* --- Components --- */
        .content-card {
            background: #fff;
            border-radius: 8px;
            padding: 25px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }
        
        h2.page-title {
            font-size: 24px;
            font-weight: 600;
            margin-top: 0;
            margin-bottom: 25px;
        }
        
        .btn {
            padding: 10px 20px;
            border-radius: 5px;
            border: 1px solid transparent;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: all 0.2s;
        }
        
        .btn-primary {
            background-color: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }
        .btn-primary:hover {
            background-color: #005a2f;
        }
        
        .table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }
        .table th, .table td {
            padding: 12px 15px;
            text-align: left;
            border-bottom: 1px solid var(--border-color);
        }
        .table th {
            background-color: #f8f9fa;
            font-weight: 600;
            color: #444;
        }
        .table tbody tr:hover {
            background-color: #f0f7f2;
        }
        .table .action-cell .btn-icon {
            color: #666;
            background: none;
            border: none;
            cursor: pointer;
            padding: 5px;
            margin-right: 10px;
            font-size: 16px;
        }
        .table .action-cell .btn-icon:hover {
            color: var(--primary-color);
        }
        
        .tabs {
            border-bottom: 2px solid var(--border-color);
            margin-bottom: 25px;
        }
        .tabs button {
            background: none;
            border: none;
            padding: 15px 25px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 500;
            color: #666;
            border-bottom: 3px solid transparent;
            margin-bottom: -2px;
        }
        .tabs button.active {
            color: var(--primary-color);
            border-bottom-color: var(--primary-color);
        }
        
        .toolbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        .search-box {
            display: flex;
            align-items: center;
            border: 1px solid var(--border-color);
            border-radius: 5px;
            padding: 0 10px;
            background: #fff;
        }
        .search-box input {
            border: none;
            outline: none;
            padding: 10px 5px;
            font-size: 14px;
        }
        .search-box i {
            color: #999;
        }
    </style>
</head>
<body>
    <div class="app-container">
        <!-- Sidebar -->
        <aside class="sidebar">
            <div class="sidebar-header">
                <img src="https://i.imgur.com/uTjxkMh.png" alt="Logo" class="logo">
                <h1>文档智能生成平台</h1>
            </div>
            <nav class="sidebar-nav">
                <ul>
                    <li><a href="#" class="active"><i class="fas fa-cog fa-fw"></i> 系统管理</a></li>
                    <li><a href="#"><i class="fas fa-database fa-fw"></i> 数据获取</a></li>
                    <li><a href="#"><i class="fas fa-file-alt fa-fw"></i> 模板管理</a></li>
                    <li><a href="#"><i class="fas fa-cogs fa-fw"></i> 内容配置</a></li>
                    <li><a href="#"><i class="fas fa-receipt fa-fw"></i> 流水解析</a></li>
                    <li><a href="#"><i class="fas fa-magic fa-fw"></i> 文档生成</a></li>
                </ul>
            </nav>
        </aside>

        <!-- Main Wrapper -->
        <div class="main-wrapper">
            <!-- Header -->
            <header class="header">
                <div class="header-actions">
                    <i class="fas fa-bell icon-btn"></i>
                    <i class="fas fa-question-circle icon-btn"></i>
                    <div class="user-profile">
                        <img src="https://i.pravatar.cc/40?u=admin" alt="User Avatar">
                        <span>王经理</span>
                        <i class="fas fa-chevron-down"></i>
                    </div>
                </div>
            </header>

            <!-- Main Content -->
            <main class="main-content">
                <h2 class="page-title">系统管理</h2>
                <div class="content-card">
                    <div class="tabs">
                        <button class="active">用户管理</button>
                        <button>角色管理</button>
                        <button>权限配置</button>
                    </div>

                    <div class="toolbar">
                        <div class="search-box">
                            <i class="fas fa-search"></i>
                            <input type="text" placeholder="按姓名、工号搜索用户...">
                        </div>
                        <button class="btn btn-primary">
                            <i class="fas fa-plus"></i> 新增用户
                        </button>
                    </div>
                    
                    <table class="table">
                        <thead>
                            <tr>
                                <th>姓名</th>
                                <th>工号</th>
                                <th>所属部门</th>
                                <th>角色</th>
                                <th>手机号</th>
                                <th>状态</th>
                                <th>操作</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td>张三</td>
                                <td>001234</td>
                                <td>总行-信贷审批部</td>
                                <td>部门管理员</td>
                                <td>138****1234</td>
                                <td><span style="color: green;">● 正常</span></td>
                                <td class="action-cell">
                                    <button class="btn-icon" title="编辑"><i class="fas fa-edit"></i></button>
                                    <button class="btn-icon" title="删除"><i class="fas fa-trash"></i></button>
                                </td>
                            </tr>
                            <tr>
                                <td>李四</td>
                                <td>005678</td>
                                <td>北京分部-小微金融部</td>
                                <td>普通用户</td>
                                <td>139****5678</td>
                                <td><span style="color: green;">● 正常</span></td>
                                <td class="action-cell">
                                    <button class="btn-icon" title="编辑"><i class="fas fa-edit"></i></button>
                                    <button class="btn-icon" title="删除"><i class="fas fa-trash"></i></button>
                                </td>
                            </tr>
                             <tr>
                                <td>王五</td>
                                <td>009012</td>
                                <td>上海分部-风险管理部</td>
                                <td>普通用户</td>
                                <td>137****9012</td>
                                <td><span style="color: orange;">● 锁定</span></td>
                                <td class="action-cell">
                                    <button class="btn-icon" title="编辑"><i class="fas fa-edit"></i></button>
                                    <button class="btn-icon" title="删除"><i class="fas fa-trash"></i></button>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </main>
        </div>
    </div>
</body>
</html>